<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>OA办公自动化</title>
<link type="text/css" rel="stylesheet" href="<%=basePath %>jquery-easyui-1.4.2/themes/default/easyui.css">
<link type="text/css" rel="stylesheet" href="<%=basePath %>jquery-easyui-1.4.2/themes/icon.css">
<script type="text/javascript" src="<%=basePath %>js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="<%=basePath %>jquery-easyui-1.4.2/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=basePath %>jquery-easyui-1.4.2/locale/easyui-lang-zh_CN.js"></script>
<link rel="stylesheet" type="text/css" href="<%=basePath %>css/index.css"/>
<script type="text/javascript" src="<%=basePath %>js/index.js"></script>
<script type="text/javascript">

	function zhishi(){
		//location.href = "zhishi.html";
		var zhishi = "<%=basePath%>user/menus.do?userId=${user.userId}";
		document.getElementById("iframe").src=zhishi;
		
	}
	
	function systems(){
		var systems = "systems.jsp";
		document.getElementById("iframe").src=systems;
	}
	function vote(){
		var vote = "../LZF/vote.jsp";
		document.getElementById("iframe").src=vote;
	}
	
	function bulletin(){
		var bulletin = "../bulletin/bulletinTreeMenuByUserId.do?userId=2&parentId=1";
		document.getElementById("iframe").src=bulletin;
	}
	function process(){
		var process = "../bulletin/bulletinTreeMenuByUserId.do?userId=2&parentId=4";
		document.getElementById("iframe").src=process;
	}
	function log(){
		var log = "../logJsp_CY/log.jsp";
		document.getElementById("iframe").src=log;
	}
	function message(){
		var message = "../view/message.jsp";
		document.getElementById("iframe").src=message;
	}
</script>
</head>
<body class="easyui-layout">
	<div data-options="region:'north'" style="height: 90px;">
		<div id="titlesleft">
			<a  href="index.jsp" class="easyui-linkbutton" plain="true" size="large" >OA办公后台管理</a> 
		</div>
		<div id="titles" style="width:85%;" >
		<a href="javascript:bulletin()" class="easyui-linkbutton" data-options="iconCls:'icon-gonggaotongzhi32'" iconAlign="top" size="large" plain="true">公告通知</a>  
		<a href="javascript:log()" class="easyui-linkbutton" data-options="iconCls:'icon-gongzuorizhi32'" iconAlign="top" size="large" plain="true">工作日志</a>  
		<a href="javascript:zhishi()" class="easyui-linkbutton" data-options="iconCls:'icon-zhishi32'" iconAlign="top" size="large" plain="true">知识管理</a>  
		<a href="javascript:process()" class="easyui-linkbutton" data-options="iconCls:'icon-liuchengguanli32'" iconAlign="top" size="large" plain="true">流程管理</a>  
		<a href="javascript:xxx()" class="easyui-linkbutton" data-options="iconCls:'icon-menhu32'" iconAlign="top" size="large" plain="true">门户管理</a>  
		<a href="javascript:xxx()" class="easyui-linkbutton" data-options="iconCls:'icon-chuqin32'" iconAlign="top" size="large" plain="true">出勤管理</a>  
		<a href="javascript:vote()" class="easyui-linkbutton" data-options="iconCls:'icon-toupian32'" iconAlign="top" size="large" plain="true">投票管理</a>  
		<a href="javascript:message()" class="easyui-linkbutton" data-options="iconCls:'icon-zhanneixin32'" iconAlign="top" size="large" plain="true">站内信</a>  
		<a href="javascript:xxx()" class="easyui-linkbutton" data-options="iconCls:'icon-user32'" iconAlign="top" size="large" plain="true">用户管理</a>  
		<a href="javascript:systems()" class="easyui-linkbutton" data-options="iconCls:'icon-xitongguanli32'" iconAlign="top" size="large" plain="true">系统管理</a>  
		<a href="javascript:xxx()" class="easyui-linkbutton" data-options="iconCls:'icon-quanxianguanli32'" iconAlign="top" size="large" plain="true">权限管理</a>  
		<a href="javascript:xxx()" class="easyui-linkbutton" data-options="iconCls:'icon-useryes32'" iconAlign="top" size="large" plain="true">在线用户</a> 
		<b style="margin-top:5%" >${user.userName }</b>
		<a href="../login.jsp" style="margin-left:90%;margin-top:-80px" class="easyui-linkbutton" data-options="iconCls:'icon-back'">退出登录</a> 
		</div>
	</div>
	<div data-options="region:'center'" id="center"  >
		<iframe id="iframe" src="calendar.jsp" height="99%"  width="100%"  scrolling="no" frameborder="0" ></iframe>
	</div>
</body>
</html>
